package cn.smart.pojo;

import java.util.List;

/**
 * @author Xiezh
 * @Description:服务器的配置信息
 * @create 2017/7/30
 */
public class GardenInfo {
    //操作码
    private int op;
    //模式
    private int mode;
    //空气湿度阈值
    private int airHumidity;
    //空气温度阈值
    private int atrTemperature;
    //定时滴灌的时间间隔
    private int dropTimeCell;
    //定时滴灌的时长
    private int dropTimeSpan;
    //定时喷雾的时间间隔
    private int sprayTimeCell;
    //定时喷雾的时长
    private int sprayTimeSpan;
    //土壤干度阈值
    private List<Integer> soilDryness;

    public GardenInfo(int op, int mode, int airHumidity, int atrTemperature, int dropTimeCell, int dropTimeSpan, int sprayTimeCell, int sprayTimeSpan, List<Integer> soilDryness) {
        this.op = op;
        this.mode = mode;
        this.airHumidity = airHumidity;
        this.atrTemperature = atrTemperature;
        this.dropTimeCell = dropTimeCell;
        this.dropTimeSpan = dropTimeSpan;
        this.sprayTimeCell = sprayTimeCell;
        this.sprayTimeSpan = sprayTimeSpan;
        this.soilDryness = soilDryness;
    }

    public int getOp() {
        return op;
    }

    public void setOp(int op) {
        this.op = op;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public int getAirHumidity() {
        return airHumidity;
    }

    public void setAirHumidity(int airHumidity) {
        this.airHumidity = airHumidity;
    }

    public int getAtrTemperature() {
        return atrTemperature;
    }

    public void setAtrTemperature(int atrTemperature) {
        this.atrTemperature = atrTemperature;
    }

    public int getDropTimeCell() {
        return dropTimeCell;
    }

    public void setDropTimeCell(int dropTimeCell) {
        this.dropTimeCell = dropTimeCell;
    }

    public int getDropTimeSpan() {
        return dropTimeSpan;
    }

    public void setDropTimeSpan(int dropTimeSpan) {
        this.dropTimeSpan = dropTimeSpan;
    }

    public int getSprayTimeCell() {
        return sprayTimeCell;
    }

    public void setSprayTimeCell(int sprayTimeCell) {
        this.sprayTimeCell = sprayTimeCell;
    }

    public int getSprayTimeSpan() {
        return sprayTimeSpan;
    }

    public void setSprayTimeSpan(int sprayTimeSpan) {
        this.sprayTimeSpan = sprayTimeSpan;
    }

    public List<Integer> getSoilDryness() {
        return soilDryness;
    }

    public void setSoilDryness(List<Integer> soilDryness) {
        this.soilDryness = soilDryness;
    }
}
